#import "ZQFTNewsCell.h"
#import <SDWebImage/UIImageView+WebCache.h>
#import "FTFootBallNews.h"
@interface ZQFTNewsCell()
@property (weak, nonatomic) IBOutlet UIImageView *ImgLinkView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UILabel *authorLabel;
@end
@implementation ZQFTNewsCell
- (void)setFootballNews:(FTFootBallNews *)footballNews
{
    _footballNews = footballNews;
    [self.ImgLinkView sd_setImageWithURL:[NSURL URLWithString:footballNews.imglink]];
    self.titleLabel.text = footballNews.title;
    self.contentLabel.text = footballNews.content168;
    self.authorLabel.text = footballNews.author;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    self.ImgLinkView.contentScaleFactor = [[UIScreen mainScreen] scale];
    self.ImgLinkView.clipsToBounds = YES;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
}
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated
{
}
@end
